package com.cskaoyan.day1.generic6;

/**
 * @author Common-zhou
 * @since 2023-02-27 14:48
 */
public class Generic1 {
    <T> T get(T data) {
        return data;
    }

    public static void main(String[] args) {
        Generic1 generic1 = new Generic1();
        Integer integer = generic1.get(10);

        String helloJava = generic1.get("hello java");
    }
}
